package com.zxx.pattern.observerPattern.observer_Z;

import java.util.Observable;
import java.util.Observer;

/**
 * @author zxx on 2021/3/9
 */
public class Watcher1 implements Observer {

    @Override
    public void update(Observable o, Object arg) {
        System.out.println("Watch1's number： " + arg);
    }
}
